//
//  MIXBaseTableViewController.m
//  WEIBO
//
//  Created by Mix on 16/5/12.
//  Copyright © 2016年 Mix. All rights reserved.
//

#import "MIXBaseTableViewController.h"
#import "MIXVisitorView.h"

@interface MIXBaseTableViewController ()

@property(nonatomic,assign)BOOL userLogin;

@end

@implementation MIXBaseTableViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    
    
}

-(void)loadView {
    
    //暂时设定用户为未登录状态
    self.userLogin = NO;
    if (self.userLogin) {
        
        [super loadView];
    }
    else{
        //创建visitorView对象
        MIXVisitorView * visitorView = [[MIXVisitorView alloc] init];
        
        self.view = visitorView;
        self.view.backgroundColor = [UIColor whiteColor];
    }
    
}



@end
